﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Platform.Models
{
    /// <summary>
    /// 
    /// </summary>
    [JsonObject]
    public class ValidationContext
    {
        /// <summary>
        /// 
        /// </summary>
        [Required, JsonProperty("ticket")]
        public string Ticket { get; set; }
        /// <summary>
        /// 码文
        /// </summary>
        [Required, JsonProperty("code")]
        public string Code { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Required, JsonProperty("success")]
        public bool Success { get; set; }
    }
}
